{extend name="layout_modal" /}
{block name="content"}
<!-- Content Header (Page header) -->
<section class="content" style="padding-top:0px;">
<div class="row">
  <div class="box">
    <!-- /.box-header -->
    <!-- form start -->
    <form role="form" action="{:url('data_save')}">
      <div class="box-body">
        <div class="form-group">
          <label for="exampleInputEmail1">类型</label>
          <select class="form-control" name="type">
            {volist name=":config('LUNBO')" id="v" key="k"}
              <option value="{$k}">{$v}</option>
            {/volist}
          </select>
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">标题</label>
          <input type="text" class="form-control" placeholder="标题" name="title">
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">简介</label>
          <input type="text" class="form-control" placeholder="简介" name="description">
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">图片</label>
          <div class="input-group input-group-sm">
            <input type="text" class="form-control" name="thumb" id="thumb_text">
            <span class="input-group-btn">
              <input id="thumb" class="upload_picker" type="file" btnTxt="上传图片">
            </span>
          </div>
          <div id="queue_thumb"></div>
        </div>
        <!-- <div class="form-group" style="" id="up_video">
          <label for="exampleInputEmail1">视频</label>
          <div class="input-group input-group-sm">
            <input type="text" class="form-control" name="video" id="video_text">
            <span class="input-group-btn">
              <input id="video" class="upload_picker" type="file" btnTxt="上传视频">
            </span>
          </div>
          <div id="queue_video"></div>
        </div> -->
        <div class="form-group">
          <label for="exampleInputEmail1">链接地址</label>
          <input type="text" class="form-control" placeholder="链接地址" name="linkurl">
        </div>
        <div class="form-group">
          <label for="exampleInputEmail1">状态</label>
          <input type="radio" name="status" value="1" style="margin-left: 15px;" checked> 开启
          <input type="radio" name="status" value="99" style="margin-left: 15px;"> 关闭
        </div>
      </div>
      <!-- /.box-body -->
    </form>
  </div>
</div>
</section>
<script type="text/javascript">
  $(document).ready(function() {
    $("#isshow").click(function(){
       $("#up_video").show();
    })
  });
</script>
<!-- /.content -->
{/block}